#pragma once

namespace VirtualHardware
{
	public interface class IMemory
	{
	public:
		property UInt32 default[UInt32]
		{
			UInt32 get(UInt32 i);
			void set(UInt32 i, UInt32 value);
		}

		inline UInt32 GetValueAt(UInt32 i);
		inline void SetValueAt(UInt32 i, UInt32 value);
	};
}
